package com.wzdigit.wms.wms.client.web.service.wms2sap.check;

@Deprecated
public class ZSI_063_MES2SAP_OutProxy implements ZSI_063_MES2SAP_Out {
  @Override
  public String toString() {
    return "ZSI_063_MES2SAP_OutProxy{" +
            "_endpoint='" + _endpoint + '\'' +
            ", zSI_063_MES2SAP_Out=" + zSI_063_MES2SAP_Out +
            '}';
  }

  private String _endpoint = null;
  private ZSI_063_MES2SAP_Out zSI_063_MES2SAP_Out = null;
  
  public ZSI_063_MES2SAP_OutProxy() {
    _initZSI_063_MES2SAP_OutProxy();
  }
  
  public ZSI_063_MES2SAP_OutProxy(String endpoint) {
    _endpoint = endpoint;
    _initZSI_063_MES2SAP_OutProxy();
  }
  
  private void _initZSI_063_MES2SAP_OutProxy() {
    try {
      zSI_063_MES2SAP_Out = (new ZSI_063_MES2SAP_OutServiceLocator()).getHTTPS_Port();
      if (zSI_063_MES2SAP_Out != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)zSI_063_MES2SAP_Out)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)zSI_063_MES2SAP_Out)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (zSI_063_MES2SAP_Out != null)
      ((javax.xml.rpc.Stub)zSI_063_MES2SAP_Out)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public ZSI_063_MES2SAP_Out getZSI_063_MES2SAP_Out() {
    if (zSI_063_MES2SAP_Out == null)
      _initZSI_063_MES2SAP_OutProxy();
    return zSI_063_MES2SAP_Out;
  }
  
  public ZDT_063_Rsp ZSI_063_MES2SAP_Out(ZDT_063_Req ZMT_063_Req) throws java.rmi.RemoteException{
    if (zSI_063_MES2SAP_Out == null)
      _initZSI_063_MES2SAP_OutProxy();
    return zSI_063_MES2SAP_Out.ZSI_063_MES2SAP_Out(ZMT_063_Req);
  }
  
  
}